<title>个人中心</title>
<link rel="stylesheet" href="/assets/assets(home)/css/center.css" />

<!-- 头部 -->
<div class="user">
    <div class="logon">
        <a href="{:url('home/index/login')}">请先登录</a>
    </div>
</div>

<!-- 菜单 -->
<div class="menulist">
    <!-- 常用工具 -->
    <div class="commonly-used">
        <div class="title">常用工具</div>
        <div class="list">
            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/profile.png" alt="">
                    <div class="name">基本资料</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/order_1.png" alt="">
                    <div class="name">我的订单</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/course.png" alt="">
                    <div class="name">我的课程</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/email.png" alt="">
                    <div class="name">邮箱认证</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/coupon.png" alt="">
                    <div class="name">优惠券</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/collection.png" alt="">
                    <div class="name">我的收藏</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/record.png" alt="">
                    <div class="name">消费记录</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/recharge.png" alt="">
                    <div class="name">余额充值</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/contact.png" alt="">
                    <div class="name">联系我们</div>
                </a>
            </div>
        </div>
    </div>
    <!-- 推广管理 -->
    <div class="promotion">
        <div class="title">推广管理</div>
        <div class="list">
            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/poster.png" alt="">
                    <div class="name">推广海报</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/team.png" alt="">
                    <div class="name">我的团队</div>
                </a>
            </div>

            <div class="item">
                <a href="javascript:void(0)">
                    <img src="/assets/assets(home)/images/money.png" alt="">
                    <div class="name">个人提现</div>
                </a>
            </div>
        </div>
    </div>
</div>

<!-- 底部 -->
{include file="common/footer"}

<script>
    //修改浏览器自带的后退按钮
    window.history.pushState(null, null, ``);

    window.addEventListener('popstate', function (e) {
        e.preventDefault()
        location.href = `{:url('/home/business/centernot')}`
    }, false)
</script>